package com.ara.copy.model;


import com.ara.copy.contract.CopyContract;
import com.ara.copy.retrofit.CopyApiHolder;
import com.ara.common.kernel.bean.BaseBean;
import com.ara.common.kernel.network.util.RxUtils;

import io.reactivex.rxjava3.core.Flowable;

/**
 * Created by XieXin on 2021/5/18.
 * 复制 Model层
 */
public class CopyModel implements CopyContract.Model {
    @Override
    public Flowable<BaseBean<Object>> copy() {
        return CopyApiHolder.getCopyApi().copy().compose(RxUtils.handleResult());
    }

}
